using System;
using UnityEngine;

[RequireComponent(typeof(TextMesh))]
public class BMThemeText : BMThemeBase
{
	public override ThemeItem[] ThemeItems
	{
		get
		{
			return this.themeItems;
		}
		set
		{
			this.themeItems = value;
		}
	}

	public override Color Color
	{
		get
		{
			return this.textMesh.color;
		}
		set
		{
			this.textMesh.color = value;
		}
	}

	protected override void Awake()
	{
		base.Awake();
		this.textMesh = base.GetComponent<TextMesh>();
	}

	private TextMesh textMesh;

	[HideInInspector]
	public ThemeItem[] themeItems;
}
